package com.xf.lastmall.moudle.dto;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by wangzhaoqian5 on 2018/6/12.
 */
public class AppOrderDetailDto {

    private String mallCode;

    private Date createTime;//	订单创建时间

    private String commodityId;//	商品id

    private String discountValue;//	折扣值

    private BigDecimal marketPrice;//	市场价

    private BigDecimal salePrice;// 销售价格

    private String orderNo;//	订单号

    private int payType;//	支付类型	1:支付宝，2:微信，3:银联

    private String picCoverUrl;//	商品图片地址

    private String refundsNo;//	退款申请号

    private String status;//	订单状态

    private int numb;//	购买总数

    private BigDecimal sumTotalAmount;//	订单总金额


    private String commodityName;//	商品名称

    private int type;//	商品类型	1: 秒杀 2:团购

    private int applyShopCount;//适用商家数量

    private String applyStatus;//退款状态

    private String channel;

    private String serviceMerchantCode;

    private String serviceMerchantName;

    private int canRefund;

    private Date useBeginTime;
    private Date useEndTime;
    private String consumeCode;

    private BigDecimal payDiscountAmount;  //支付享受折扣/优惠金额
    private BigDecimal leftPayDiscountAmount;  //退货退款，剩余支付优惠金额

    public String getConsumeCode() {
        return consumeCode;
    }

    public void setConsumeCode(String consumeCode) {
        this.consumeCode = consumeCode;
    }

    public Date getUseBeginTime() {
        return useBeginTime;
    }

    public void setUseBeginTime(Date useBeginTime) {
        this.useBeginTime = useBeginTime;
    }

    public Date getUseEndTime() {
        return useEndTime;
    }

    public void setUseEndTime(Date useEndTime) {
        this.useEndTime = useEndTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getCanRefund() {
        return canRefund;
    }

    public void setCanRefund(int canRefund) {
        this.canRefund = canRefund;
    }

    public String getServiceMerchantCode() {
        return serviceMerchantCode;
    }

    public void setServiceMerchantCode(String serviceMerchantCode) {
        this.serviceMerchantCode = serviceMerchantCode;
    }

    public String getServiceMerchantName() {
        return serviceMerchantName;
    }

    public void setServiceMerchantName(String serviceMerchantName) {
        this.serviceMerchantName = serviceMerchantName;
    }




    public String getMallCode() {
        return mallCode;
    }

    public void setMallCode(String mallCode) {
        this.mallCode = mallCode;
    }



    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public String getDiscountValue() {
        return discountValue;
    }

    public void setDiscountValue(String discountValue) {
        this.discountValue = discountValue;
    }



    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public String getPicCoverUrl() {
        return picCoverUrl;
    }

    public void setPicCoverUrl(String picCoverUrl) {
        this.picCoverUrl = picCoverUrl;
    }

    public String getRefundsNo() {
        return refundsNo;
    }

    public void setRefundsNo(String refundsNo) {
        this.refundsNo = refundsNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getNumb() {
        return numb;
    }

    public void setNumb(int numb) {
        this.numb = numb;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public BigDecimal getSumTotalAmount() {
        return sumTotalAmount;
    }

    public void setSumTotalAmount(BigDecimal sumTotalAmount) {
        this.sumTotalAmount = sumTotalAmount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getApplyShopCount() {
        return applyShopCount;
    }

    public void setApplyShopCount(int applyShopCount) {
        this.applyShopCount = applyShopCount;
    }

    public String getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(String applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public BigDecimal getPayDiscountAmount() {
        return payDiscountAmount;
    }

    public void setPayDiscountAmount(BigDecimal payDiscountAmount) {
        this.payDiscountAmount = payDiscountAmount == null ? new BigDecimal("0") : payDiscountAmount;
    }

    public BigDecimal getLeftPayDiscountAmount() {
        return leftPayDiscountAmount;
    }

    public void setLeftPayDiscountAmount(BigDecimal leftPayDiscountAmount) {
        this.leftPayDiscountAmount = leftPayDiscountAmount == null ? new BigDecimal("0") : leftPayDiscountAmount;
    }
}
